package com.qqtech.qquan.user.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class UserWithdraw extends BaseDomain{

	//columns START
    /** 用户ID */
	private java.lang.Integer userId;
    /** 申请提现金额(人民币，单位元) */
	private BigDecimal cash;
    /** 银行类型:1-支付宝;2-银行卡;3-微信 */
	private java.lang.Integer type;
    /** 银行卡号或支付宝账户或微信账户 */
	private java.lang.String accountNo;
    /** 开户人姓名 */
	private java.lang.String userReal;
    /** 用户开户行名称，例如：招商银行深圳梅林支行 */
	private java.lang.String bankName;
    /** 提现申请状态:1-申请中;2-提现中;3-已提现;4-已驳回 */
	private java.lang.Integer status;
    /** 操作时间，如已提现时间或已驳回时间 */
	private java.sql.Timestamp statusAt;
    /** 备注 */
	private java.lang.String remark;
    /** 付款批次号 */
	private java.lang.String batchNo;
    /** 交易号-第三方产生 */
	private java.lang.String payNo;
	//columns END
	public UserWithdraw(){
	}

	public UserWithdraw( java.lang.Integer id ){
		this.id = id;
	}

	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}

	public java.lang.Integer getUserId() {
		return this.userId;
	}
	
	public void setCash(BigDecimal cash) {
		this.cash = cash;
	}

	public BigDecimal getCash() {
		return this.cash;
	}
	
	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	public java.lang.Integer getType() {
		return this.type;
	}
	
	public void setAccountNo(java.lang.String accountNo) {
		this.accountNo = accountNo;
	}

	public java.lang.String getAccountNo() {
		return this.accountNo;
	}
	
	public void setUserReal(java.lang.String userReal) {
		this.userReal = userReal;
	}

	public java.lang.String getUserReal() {
		return this.userReal;
	}
	
	public void setBankName(java.lang.String bankName) {
		this.bankName = bankName;
	}

	public java.lang.String getBankName() {
		return this.bankName;
	}
	
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public void setStatusAt(java.sql.Timestamp statusAt) {
		this.statusAt = statusAt;
	}

	public java.sql.Timestamp getStatusAt() {
		return this.statusAt;
	}
	
	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}

	public java.lang.String getRemark() {
		return this.remark;
	}
	
	public void setBatchNo(java.lang.String batchNo) {
		this.batchNo = batchNo;
	}

	public java.lang.String getBatchNo() {
		return this.batchNo;
	}
	
	public void setPayNo(java.lang.String payNo) {
		this.payNo = payNo;
	}

	public java.lang.String getPayNo() {
		return this.payNo;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

